﻿@model EM.OA.Portal.Models.EmployeeStaffModels
@{
    Layout = "~/Views/Shared/_LayoutContent.cshtml";
}
<script type="text/javascript" src="~/Scripts/page/EmployeeStaff.js"></script>
<div>
    @*list*@
    <table id="list" class="easyui-datagrid" toolbar="#toolbar">
    </table>
    <div id="toolbar">
        <a href="#" class="easyui-linkbutton" iconcls="icon-add" plain="true" onclick="add()">增加</a>
        <a href="#" class="easyui-linkbutton" iconcls="icon-edit" plain="true" onclick="edit()">修改</a>
        <a href="#" class="easyui-linkbutton" iconcls="icon-remove" plain="true" onclick="del()">删除</a>
        @*<div id="tb" style="padding: 3px">
            <span>@Html.LabelFor(m => m.WorkPlanName)</span>
            <input id="WorkPlanName" style="line-height: 26px; border: 1px solid #ccc">
            <span>@Html.LabelFor(m => m.WorkPlanType)</span>
            <input id="WorkPlanType" style="line-height: 26px; border: 1px solid #ccc">
            <a href="#" class="easyui-linkbutton" plain="true" onclick="doSearch()">Search</a>
        </div>*@
    </div>
    
    @*Detail*@
    <div id="dlg" class="easyui-dialog" style="width: 350px; height: 300px; padding: 10px 20px"
        closed="true" buttons="#dlg-buttons" modal="true" resizable="true">
        <div id="dlg-buttons">
            <a href="#" class="easyui-linkbutton" iconcls="icon-ok" onclick="save()">保存</a>
            <a href="#" class="easyui-linkbutton" iconcls="icon-cancel" onclick="javascript:$('#dlg').dialog('close')">取消</a>
        </div>
        <form id="fm" method="post">
            @Html.HiddenFor(m => m.EmployeeID)
      	      	      	 <div>
                @Html.LabelFor(m => m.Name)			
							<input name="Name" class="easyui-validatebox" data-options="required:true,validType:'length[1,100]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.Sex)			
			             			 			 				<input name="Sex" class="easyui-numberbox" data-options="min:0,max:100" />
                      </div>
                 	 <div>
                @Html.LabelFor(m => m.Nation)			
							<input name="Nation" class="easyui-validatebox" data-options="required:true,validType:'length[1,100]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.EntryDateTime)			
			             			                <input name="EntryDateTime" class="easyui-datebox" data-options="required:true" />
 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.Age)			
			             			 			 				<input name="Age" class="easyui-numberbox" data-options="min:0,max:100" />
                      </div>
                 	 <div>
                @Html.LabelFor(m => m.Birthday)			
			             			                <input name="Birthday" class="easyui-datebox" data-options="required:true" />
 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.Photo)			
							<input name="Photo" class="easyui-validatebox" data-options="required:true,validType:'length[1,150]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.IDcardNumber)			
							<input name="IDcardNumber" class="easyui-validatebox" data-options="required:true,validType:'length[1,50]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.Politicallandscape)			
							<input name="Politicallandscape" class="easyui-validatebox" data-options="required:true,validType:'length[1,10]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.IsMarried)			
							<input name="IsMarried" class="easyui-validatebox" data-options="required:true,validType:'length[1,10]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.GraduateSchool)			
							<input name="GraduateSchool" class="easyui-validatebox" data-options="required:true,validType:'length[1,200]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.EducationalType)			
							<input name="EducationalType" class="easyui-validatebox" data-options="required:true,validType:'length[1,10]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.Professional)			
							<input name="Professional" class="easyui-validatebox" data-options="required:true,validType:'length[1,200]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.Accountlocation)			
							<input name="Accountlocation" class="easyui-validatebox" data-options="required:true,validType:'length[1,500]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.Hometown)			
							<input name="Hometown" class="easyui-validatebox" data-options="required:true,validType:'length[1,10]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.Urbanhukou)			
							<input name="Urbanhukou" class="easyui-validatebox" data-options="required:true,validType:'length[1,200]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.LiveAdress)			
							<input name="LiveAdress" class="easyui-validatebox" data-options="required:true,validType:'length[1,500]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.phone)			
							<input name="phone" class="easyui-validatebox" data-options="required:true,validType:'length[1,100]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.Post)			
							<input name="Post" class="easyui-validatebox" data-options="required:true,validType:'length[1,20]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.Department)			
							<input name="Department" class="easyui-validatebox" data-options="required:true,validType:'length[1,10]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.JobTitle)			
							<input name="JobTitle" class="easyui-validatebox" data-options="required:true,validType:'length[1,10]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.PositiveTime)			
			             			                <input name="PositiveTime" class="easyui-datebox" data-options="required:true" />
 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.ContractExpiration)			
			             			                <input name="ContractExpiration" class="easyui-datebox" data-options="required:true" />
 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.RenewedTime)			
			             			                <input name="RenewedTime" class="easyui-datebox" data-options="required:true" />
 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.IsAdjustFile)			
			                            <input type="checkbox" name="IsAdjustFile" />
 			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.FileLocation)			
							<input name="FileLocation" class="easyui-validatebox" data-options="required:true,validType:'length[1,500]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.employType)			
							<input name="employType" class="easyui-validatebox" data-options="required:true,validType:'length[1,10]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.TrialSalary)			
			             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.RelationPersonal)			
							<input name="RelationPersonal" class="easyui-validatebox" data-options="required:true,validType:'length[1,100]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.RelativePhone)			
							<input name="RelativePhone" class="easyui-validatebox" data-options="required:true,validType:'length[1,100]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.Salary)			
			             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.EductionHistory)			
							<input name="EductionHistory" class="easyui-validatebox" data-options="required:true,validType:'length[1,1000]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.WorkHistory)			
							<input name="WorkHistory" class="easyui-validatebox" data-options="required:true,validType:'length[1,1000]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.FamilayInfo)			
							<input name="FamilayInfo" class="easyui-validatebox" data-options="required:true,validType:'length[1,1000]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.SkillInfo)			
							<input name="SkillInfo" class="easyui-validatebox" data-options="required:true,validType:'length[1,1000]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.HaveRelative)			
			                            <input type="checkbox" name="HaveRelative" />
 			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.RrewardHistory)			
							<input name="RrewardHistory" class="easyui-validatebox" data-options="required:true,validType:'length[1,1000]'">
             			 			           </div>
                 	 <div>
                @Html.LabelFor(m => m.Remark)			
							<input name="Remark" class="easyui-validatebox" data-options="required:true,validType:'length[1,1000]'">
             			 			           </div>
                   </form>
    </div>

</div>